﻿@model MileageStats.Web.Models.ReminderFormModel
@{
    ViewBag.Title = "Add Reminder";
    Layout = "~/Views/Shared/_Layout.Mobile.cshtml";
}
<nav>
    <ol class="title">
        <li><a href="@Url.Action("Index", "Dashboard")" class="dashboard icon only"><span>Dashboard</span></a></li>
        <li>@Mustache.ViewBag("VehicleName")</li>
    </ol>
    <ol class="breadcrumbs">
	    <li><a href="@Url.UnencodedAction("List", "Reminder", new { vehicleId = Mustache.RouteValue("vehicleId") })">Reminders</a></li>
	    <li>Add Reminder</li>
    </ol>
</nav>
@{Html.RenderPartial("_Flash.Mobile");}
@using (var section = Mustache.Section("Model"))
{
    <div class="view">

        <form method="POST" action="@Url.UnencodedAction("Add", "Reminder", new { vehicleId = Mustache.Value(m => m.VehicleId) })">
            @Html.Partial("~/Views/Reminder/ReminderForm.Mobile.cshtml", Model)
        </form> 
    </div>
}